import Vue from 'vue'
import App from './App'
import uView from "uview-ui";
import store from './store'
Vue.use(uView);


// 引入uView对小程序分享的mixin封装
import mpShare from 'uview-ui/libs/mixin/mpShare.js'
Vue.mixin(mpShare)
import inOutCar from '@/mixins/inOutCar.js'
Vue.mixin(inOutCar)
import shareMixins from '@/mixins/shareMixins.js'
Vue.mixin(shareMixins)
import toolsMixin from '@/mixins/toolsMixin.js'
Vue.mixin(toolsMixin)
import validateLogin from '@/mixins/validateLogin.js'
Vue.mixin(validateLogin)
import theme from '@/mixins/theme.js'
Vue.mixin(theme)
import MescrollBody from "@/components/mescroll-uni/mescroll-body.vue"
import MescrollUni from "@/components/mescroll-uni/mescroll-uni.vue"
import uSelectItem from '@/components/selectItem/selectItem.vue'
import aNabbar from '@/components/navbar/navbar.vue'
import itemBtn from '@/components/item-btn/item-btn.vue'
import flexText from '@/components/flexText/flexText.vue'
import labelBox from '@/components/labelBox/labelBox.vue'
import money from '@/components/money/money.vue'
import itemInput from '@/components/itemInput/itemInput.vue'
Vue.component('mescroll-body', MescrollBody)
Vue.component('mescroll-uni', MescrollUni)
Vue.component('select-item', uSelectItem)
Vue.component('a-nabbar', aNabbar)
Vue.component('item-btn', itemBtn)
Vue.component('flex-text', flexText)
Vue.component('label-box', labelBox)
Vue.component('money', money)
Vue.component('itemInput', itemInput)

import itemBox from '@/components/item-box/item-box.vue'
Vue.component('itemBox',itemBox)

import itemImage from "@/components/itemImages/itemImage";
Vue.component('itemImage',itemImage)

Vue.config.productionTip = false

App.mpType = 'app'

Vue.prototype.$store = store;
const app = new Vue({
    ...App,
		store
})

app.$mount()
